home *** CD-ROM | disk | FTP | other *** search
- a = 6.283185307179586 * mp / tpause;
- alpha = 100 * mp / tpause;
- var r1 = c1 >> 16 & 0xFF;
- var g1 = c1 >> 8 & 0xFF;
- var b1 = c1 & 0xFF;
- var r2 = c2 >> 16 & 0xFF;
- var g2 = c2 >> 8 & 0xFF;
- var b2 = c2 & 0xFF;
- var mix = (Math.floor(r1 * alpha / 100) + Math.floor(r2 * (100 - alpha) / 100) << 16) + (Math.floor(g1 * alpha / 100) + Math.floor(g2 * (100 - alpha) / 100) << 8) + (Math.floor(b1 * alpha / 100) + Math.floor(b2 * (100 - alpha) / 100));
- aa = Math.min(mp,tpause - mp) * 10;
- if(100 < aa)
- {
- aa = 100;
- }
- i = 0;
- while(i < shades)
- {
- crx = radtx * i / shades;
- cry = radty * i / shades;
- ox = Math.cos(a) * crx;
- oy = Math.sin(a) * cry;
- al = (at - af) * i / shades + af;
- al = al * aa / 100;
- setProperty(i, _X, ox);
- setProperty(i, _Y, (movy - th) / 2 + oy);
- setProperty(i, _alpha, al);
- set(i add ".text.text",texts[ii]);
- mc = new Color(i);
- mc.setRGB(mix);
- i++;
- }
- mp++;
- if(tpause < mp)
- {
- mp = 0;
- ii++;
- if(texts.length < ii or texts[ii] eq "")
- {
- ii = 0;
- }
- }
-